import 'package:fluro/fluro.dart';
import 'package:flutter_app/config/route_handle.dart';

class Routes {
  static String root = "/";
  static String login = "/login";
  static String settingPage = "/settingPage";
  static String search = "/search";
  static String message = "/message";
  static String detail = "/detail";

  static void configureRoutes(Router router) {
    router.notFoundHandler = noFoundHandler;
    router.define(root, handler: rootHandler);
    router.define(login, handler: loginHandler);
    router.define(settingPage, handler: settingHandler);
    router.define(search, handler: searchHandler);
    router.define(message, handler: messageHandler);
    router.define(detail, handler: detailHandler);
  }
}